﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;

namespace ScheduleMaster_WebApiTest.Controllers
{

    [ApiController]
    [Route("api/task")]
    public class TaskExecutedController : AbpController
    {
        /*
         * 结合项目调用
         * https://github.com/hey-hoho/ScheduleMasterCore
         * 
         * **/

        public TaskExecutedController()
        {

        }

        /// <summary>
        /// 测试数据写入
        /// </summary>
        /// <returns></returns>
        [HttpPost("test1")]
        public async Task<string > TestWriteLogger()
        {

            await Task.CompletedTask;

            return "OK";
        }

        /// <summary>
        /// 测试数据写入
        /// </summary>
        /// <returns></returns>
        [HttpPost("test2")]
        public string TestWriteLogger2()
        {
            return "OK";
        }


    }
}
